/**
 * 
 */
package com.alstudio.module.xmpp.request.proccesser.useroption;

import com.alstudio.module.xmpp.protocol.xmpp.util.xmlcreator.iq.useroption.CommitUserOptionsIQCreator;
import com.alstudio.module.xmpp.request.ALUiXmppRequestInvokeCallback;
import com.alstudio.utils.notification.SystemSettings;

/**
 * 請求上傳配置文件
 * @author alonso lee
 *
 */
public class CommitUserOptionRequestProccesser implements
		ALUiXmppRequestInvokeCallback {

	/* (non-Javadoc)
	 * @see com.alstudio.module.xmpp.request.ALUiXmppRequestInvokeCallback#getXmlData(java.lang.Object, java.lang.String)
	 */
	@Override
	public Object getXmlData(Object data, String domain) {
		// TODO Auto-generated method stub
		SystemSettings settings = (SystemSettings) data;
		CommitUserOptionsIQCreator iq = new CommitUserOptionsIQCreator(domain, settings);
		return iq;
	}

}
